<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@include file="/common/definition.jsp"%>

<html:html>
<tiles:insert beanName="definition" flush="true">
	<tiles:put name="title"> Welcome </tiles:put>
	<tiles:put name="body" type="string">
	<s:form action="getproduct">
		<s:iterator value="listsubcat" status="listinfoStatus" id="list">
			<ul>
				<s:if test="#listinfoStatus.even == true">
					<li><s:property value="catName" /> <s:iterator
							value="listinfo" status="listcatStatus" id="list1">
							<ul>
								<s:if test="#listcatStatus.even == true">
									<li><s:a action="getproduct" var="urltag">
											<s:property value="catName" />
											<s:param name="catID" value="catID" />
										</s:a>
									</li>
								</s:if>
								<s:else>
									<li><s:a action="getproduct">
											<s:property value="catName" />
											<s:param name="catID" value="catID" />
										</s:a>
									</li>
								</s:else>
							</ul>
						</s:iterator>
					</li>
				</s:if>
				<s:else>
					<li><s:property value="catName" /> <s:iterator
							value="listinfo" status="listcatStatus" id="list1">
							<ul>
								<s:if test="#listcatStatus.even == true">
									<li><s:a action="getproduct">
											<s:property value="catName" />
											<s:param name="catID" value="catID" />
										</s:a></li>
								</s:if>
								<s:else>
									<li><s:a action="getproduct">
											<s:property value="catName" />
											<s:param name="catID" value="catID" />
										</s:a>
									</li>
								</s:else>
							</ul>
						</s:iterator>
					</li>
				</s:else>
			</ul>
		</s:iterator>
	</s:form>
</tiles:put>
</tiles:insert>
</html:html>